home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / c / cpptut22.zip / PERSON.H < prev    next >
C/C++ Source or Header  |  1992-01-20  |  276b  |  14 lines

  1.                                    // Chapter 11 - Program 1
  2. #ifndef PERSON_H
  3. #define PERSON_H
  4.  
  5. class person {
  6. protected:       // Make these variables available to the subclasses
  7.    char name[25];
  8.    int salary;
  9. public:
  10.    virtual void display(void);
  11. };
  12.  
  13. #endif
  14.